package com.mp.students.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mfc
 * @since 2018-09-14
 */
@Data
@Accessors(chain = true)
@TableName("mp_user")
public class MpUser extends Model<MpUser> implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id ;
    private String userName;
    private String sex;
    private String age;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
